#ifndef _DATETEST_H
#define	_DATETEST_H

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include "common/Date.h"

namespace etu {

using etu::common::Date;

class DateTest : public CPPUNIT_NS::TestFixture {
    
    CPPUNIT_TEST_SUITE(DateTest);
    CPPUNIT_TEST(dateTest);
    CPPUNIT_TEST(unknownDateTest);
    CPPUNIT_TEST(serializationTest);
    CPPUNIT_TEST_SUITE_END();

    Date* date;

public:
    void setUp();
    void tearDown();

protected:

    void dateTest();
    void unknownDateTest();
    void serializationTest();
};

CPPUNIT_TEST_SUITE_REGISTRATION(DateTest);

}

#endif	/* _DATETEST_H */

